package edu.mobbuzz.page.splashscreen;

import com.sun.lwuit.Graphics;
import com.sun.lwuit.Image;
import com.sun.lwuit.Painter;
import com.sun.lwuit.geom.Rectangle;
import java.io.IOException;

public class SplashPaint implements Painter {
    private Image splashImage;
    
    public void paint(Graphics graphic, Rectangle rect) {
        try {
            splashImage = Image.createImage("/images/splash1.png");
        } catch (IOException ex) {
            ex.printStackTrace();
        }
        graphic.drawImage(splashImage, 0, 0);
    }

}
